﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ProjectManageSystemApi.DbEntity
{
    [JsonObject(MemberSerialization.OptIn), Table(Name = "cost_image_info", DisableSyncStructure = true)]
    public class CostImageInfo
	{
		[JsonProperty, Column(Name = "id", IsPrimary = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 审核理由
		/// </summary>
		[JsonProperty, Column(Name = "cost_id")]
		public int CostId { get; set; }

		/// <summary>
		/// 图片
		/// </summary>
		[JsonProperty, Column(Name = "image_url", StringLength = 255 )]
        public string ImageUrl { get; set; }

		[JsonProperty, Column(Name = "create_time")]
		public DateTime CreateTime { get; set; }

		[JsonProperty, Column(Name = "create_user")]
		public long CreateUser { get; set; }

	}
}
